package com.example.administrator.easy.view;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.example.administrator.easy.R;

/**
 * Created by Administrator on 2016/11/16.
 */

//未登录布局
public class WodeNoFragment extends Fragment {
    private ImageView iv;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_wode_wei,null);
        iv = (ImageView) view.findViewById(R.id.no_iv);
        iv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //点击图片进入登录页面 登录
                startActivity(new Intent(getActivity(),LoginActivity.class));
            }
        });
        return view;
    }
//
}
